#include "register/tilingdata_base.h"

namespace optiling {
BEGIN_TILING_DATA_DEF(ReduceSumTilingData)

  TILING_DATA_FIELD_DEF_ARR(uint32_t, 10, shape);
  TILING_DATA_FIELD_DEF(uint32_t, dimNum); //input的维度
  TILING_DATA_FIELD_DEF(uint32_t, blockLength); //所有数据个数
  TILING_DATA_FIELD_DEF(uint32_t, blockSize); //一次tiling最大元素个数
  TILING_DATA_FIELD_DEF(uint32_t, ALIGN_NUM);
  

  // TILING_DATA_FIELD_DEF(uint32_t, totalLength); //reducesum的数据量（一个维度）
  // TILING_DATA_FIELD_DEF(uint32_t, stepSize); // 一组数据之间内每个数据的间隔
  // TILING_DATA_FIELD_DEF(uint32_t, unitCount); //多少组数据做reduce
  // TILING_DATA_FIELD_DEF(uint32_t, tileNum);
  // TILING_DATA_FIELD_DEF(uint32_t, tileLength);
  // TILING_DATA_FIELD_DEF(uint32_t, lasttileLength);

  
END_TILING_DATA_DEF;

REGISTER_TILING_DATA_CLASS(ReduceSum, ReduceSumTilingData)
}
